<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;

class VerifyCsrfToken extends Middleware
{
    /**
     * The URIs that should be excluded from CSRF verification.
     * VerifyCsrfToken 中间件的 $except 属性可以排除对路由的 CSRF 保护
     * @var array
     */
    protected $except = [
        //排除所有Api下的login路由
        "/Api/*",
    ];
}
